package com.br.fiscalizacao.domain;

import javax.persistence.ManyToOne;
import javax.validation.constraints.Size;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(table = "municipio")
public class Municipio {

    @Size(max = 25)
    private String nome_municipio;

    @ManyToOne
    private Estado estado;
}
